import request from '@/utils/request'
export const register =async (name:string, password:string,confirm:string)=>{
  return await request.post('https://bjwz.bwie.com/wipi/api/user/register',{
    name,password,confirm
  })
}

export const login=async(name:string,password:string)=>{
  return await request.post('https://bjwz.bwie.com/wipi/api/auth/login',{
    name,password
  })
}

